import type {AxiosRequestConfig} from 'axios'
export interface ServiceRequestInterceptors{
	requestInterceptor?:(config:AxiosRequestConfig) => any// 请求成功拦截
	requestInterceptorCatch?: (error: any) => any // 请求失败拦截
	responseInterceptor?: (response: any) => any // 响应成功拦截
	responseInterceptorCatch?: (error: any) => any // 响应失败拦截
}
export interface ServiceRequestConfig extends AxiosRequestConfig{
	interceptors?:ServiceRequestInterceptors,
	showLoading?:Boolean,
	returnData?:Boolean
}
export const DEAFULT_LOADING = true
